Integrand size = 35, antiderivative size = 861 \[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=-\frac {\sqrt {a-b+c} \arctan \left (\frac {\sqrt {a-b+c} \tan (d+e x)}{\sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}\right )}{2 e}-\frac {\cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{e}+\frac {\sqrt {c} \tan (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{e \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )}-\frac {\sqrt [4]{a} \sqrt [4]{c} E\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right )|\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}}}{e \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}+\frac {\left (\sqrt {a}+\sqrt {c}\right ) \sqrt [4]{c} \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}}}{2 \sqrt [4]{a} e \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}+\frac {\sqrt [4]{c} (a-b+c) \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}}}{2 \sqrt [4]{a} \left (\sqrt {a}-\sqrt {c}\right ) e \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \operatorname {EllipticPi}\left (-\frac {\left (\sqrt {a}-\sqrt {c}\right )^2}{4 \sqrt {a} \sqrt {c}},2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}}}{4 \sqrt [4]{a} \left (\sqrt {a}-\sqrt {c}\right ) \sqrt [4]{c} e \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}} \]
-1/2*arctan((a-b+c)^(1/2)*tan(e*x+d)/(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/ 2))*(a-b+c)^(1/2)/e-cot(e*x+d)*(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/2)/e+c ^(1/2)*(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/2)*tan(e*x+d)/e/(a^(1/2)+c^(1/ 2)*tan(e*x+d)^2)-a^(1/4)*c^(1/4)*(cos(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4)) )^2)^(1/2)/cos(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4)))*EllipticE(sin(2*arcta n(c^(1/4)*tan(e*x+d)/a^(1/4))),1/2*(2-b/a^(1/2)/c^(1/2))^(1/2))*((a+b*tan( e*x+d)^2+c*tan(e*x+d)^4)/(a^(1/2)+c^(1/2)*tan(e*x+d)^2)^2)^(1/2)*(a^(1/2)+ c^(1/2)*tan(e*x+d)^2)/e/(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/2)+1/2*c^(1/4 )*(a-b+c)*(cos(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4)))^2)^(1/2)/cos(2*arctan (c^(1/4)*tan(e*x+d)/a^(1/4)))*EllipticF(sin(2*arctan(c^(1/4)*tan(e*x+d)/a^ (1/4))),1/2*(2-b/a^(1/2)/c^(1/2))^(1/2))*((a+b*tan(e*x+d)^2+c*tan(e*x+d)^4 )/(a^(1/2)+c^(1/2)*tan(e*x+d)^2)^2)^(1/2)*(a^(1/2)+c^(1/2)*tan(e*x+d)^2)/a ^(1/4)/e/(a^(1/2)-c^(1/2))/(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/2)+1/2*c^( 1/4)*(cos(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4)))^2)^(1/2)/cos(2*arctan(c^(1 /4)*tan(e*x+d)/a^(1/4)))*EllipticF(sin(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4) )),1/2*(2-b/a^(1/2)/c^(1/2))^(1/2))*(a^(1/2)+c^(1/2))*((a+b*tan(e*x+d)^2+c *tan(e*x+d)^4)/(a^(1/2)+c^(1/2)*tan(e*x+d)^2)^2)^(1/2)*(a^(1/2)+c^(1/2)*ta n(e*x+d)^2)/a^(1/4)/e/(a+b*tan(e*x+d)^2+c*tan(e*x+d)^4)^(1/2)-1/4*(a-b+c)* (cos(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4)))^2)^(1/2)/cos(2*arctan(c^(1/4)*t an(e*x+d)/a^(1/4)))*EllipticPi(sin(2*arctan(c^(1/4)*tan(e*x+d)/a^(1/4))...
Result contains complex when optimal does not.
Time = 20.25 (sec) , antiderivative size = 1258, normalized size of antiderivative = 1.46 \[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\frac {\sqrt {\frac {3 a+b+3 c+4 a \cos (2 (d+e x))-4 c \cos (2 (d+e x))+a \cos (4 (d+e x))-b \cos (4 (d+e x))+c \cos (4 (d+e x))}{3+4 \cos (2 (d+e x))+\cos (4 (d+e x))}} \left (-\cot (d+e x)+\frac {1}{2} \sin (2 (d+e x))\right )}{e}+\frac {i \sqrt {2} \left (-b+\sqrt {b^2-4 a c}\right ) \left (E\left (i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right )|\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )-\operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right ),\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right )\right ) \left (1+\tan ^2(d+e x)\right ) \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c \tan ^2(d+e x)}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c \tan ^2(d+e x)}{b-\sqrt {b^2-4 a c}}}-2 i \sqrt {2} c \operatorname {EllipticF}\left (i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right ),\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right ) \left (1+\tan ^2(d+e x)\right ) \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c \tan ^2(d+e x)}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c \tan ^2(d+e x)}{b-\sqrt {b^2-4 a c}}}+2 i \sqrt {2} a \operatorname {EllipticPi}\left (\frac {b+\sqrt {b^2-4 a c}}{2 c},i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right ),\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right ) \left (1+\tan ^2(d+e x)\right ) \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c \tan ^2(d+e x)}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c \tan ^2(d+e x)}{b-\sqrt {b^2-4 a c}}}-2 i \sqrt {2} b \operatorname {EllipticPi}\left (\frac {b+\sqrt {b^2-4 a c}}{2 c},i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right ),\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right ) \left (1+\tan ^2(d+e x)\right ) \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c \tan ^2(d+e x)}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c \tan ^2(d+e x)}{b-\sqrt {b^2-4 a c}}}+2 i \sqrt {2} c \operatorname {EllipticPi}\left (\frac {b+\sqrt {b^2-4 a c}}{2 c},i \text {arcsinh}\left (\sqrt {2} \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x)\right ),\frac {b+\sqrt {b^2-4 a c}}{b-\sqrt {b^2-4 a c}}\right ) \left (1+\tan ^2(d+e x)\right ) \sqrt {\frac {b+\sqrt {b^2-4 a c}+2 c \tan ^2(d+e x)}{b+\sqrt {b^2-4 a c}}} \sqrt {1+\frac {2 c \tan ^2(d+e x)}{b-\sqrt {b^2-4 a c}}}-4 \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} \tan (d+e x) \left (a+b \tan ^2(d+e x)+c \tan ^4(d+e x)\right )}{4 \sqrt {\frac {c}{b+\sqrt {b^2-4 a c}}} e \left (1+\tan ^2(d+e x)\right ) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}} \]
(Sqrt[(3*a + b + 3*c + 4*a*Cos[2*(d + e*x)] - 4*c*Cos[2*(d + e*x)] + a*Cos [4*(d + e*x)] - b*Cos[4*(d + e*x)] + c*Cos[4*(d + e*x)])/(3 + 4*Cos[2*(d + e*x)] + Cos[4*(d + e*x)])]*(-Cot[d + e*x] + Sin[2*(d + e*x)]/2))/e + (I*S qrt[2]*(-b + Sqrt[b^2 - 4*a*c])*(EllipticE[I*ArcSinh[Sqrt[2]*Sqrt[c/(b + S qrt[b^2 - 4*a*c])]*Tan[d + e*x]], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])] - EllipticF[I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*Tan [d + e*x]], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])])*(1 + Tan[d + e*x]^2)*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*Tan[d + e*x]^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*Tan[d + e*x]^2)/(b - Sqrt[b^2 - 4*a*c])] - (2*I)*S qrt[2]*c*EllipticF[I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*Tan[d + e*x]], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])]*(1 + Tan[d + e* x]^2)*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*Tan[d + e*x]^2)/(b + Sqrt[b^2 - 4* a*c])]*Sqrt[1 + (2*c*Tan[d + e*x]^2)/(b - Sqrt[b^2 - 4*a*c])] + (2*I)*Sqrt [2]*a*EllipticPi[(b + Sqrt[b^2 - 4*a*c])/(2*c), I*ArcSinh[Sqrt[2]*Sqrt[c/( b + Sqrt[b^2 - 4*a*c])]*Tan[d + e*x]], (b + Sqrt[b^2 - 4*a*c])/(b - Sqrt[b ^2 - 4*a*c])]*(1 + Tan[d + e*x]^2)*Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*Tan[d + e*x]^2)/(b + Sqrt[b^2 - 4*a*c])]*Sqrt[1 + (2*c*Tan[d + e*x]^2)/(b - Sqr t[b^2 - 4*a*c])] - (2*I)*Sqrt[2]*b*EllipticPi[(b + Sqrt[b^2 - 4*a*c])/(2*c ), I*ArcSinh[Sqrt[2]*Sqrt[c/(b + Sqrt[b^2 - 4*a*c])]*Tan[d + e*x]], (b + S qrt[b^2 - 4*a*c])/(b - Sqrt[b^2 - 4*a*c])]*(1 + Tan[d + e*x]^2)*Sqrt[(b...
Time = 0.96 (sec) , antiderivative size = 724, normalized size of antiderivative = 0.84, number of steps used = 13, number of rules used = 12, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.343, Rules used = {3042, 4183, 1634, 27, 1604, 25, 27, 1511, 27, 1416, 1509, 2220}
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx\) |
\(\Big \downarrow \) 3042 |
\(\displaystyle \int \frac {\sqrt {a+b \tan (d+e x)^2+c \tan (d+e x)^4}}{\tan (d+e x)^2}dx\) |
\(\Big \downarrow \) 4183 |
\(\displaystyle \frac {\int \frac {\cot ^2(d+e x) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}{\tan ^2(d+e x)+1}d\tan (d+e x)}{e}\) |
\(\Big \downarrow \) 1634 |
\(\displaystyle \frac {\frac {\int \frac {\cot ^2(d+e x) \left (\left (\sqrt {a}+\sqrt {c}\right ) \left (a+\sqrt {c} \sqrt {a}-b\right ) \sqrt {c} \tan ^2(d+e x)+a (a-c)\right )}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}-\frac {(a-b+c) \int \frac {\left (\sqrt {a}+\sqrt {c}\right ) \left (\sqrt {c} \tan ^2(d+e x)+\sqrt {a}\right )}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {\int \frac {\cot ^2(d+e x) \left (\left (\sqrt {a}+\sqrt {c}\right ) \left (a+\sqrt {c} \sqrt {a}-b\right ) \sqrt {c} \tan ^2(d+e x)+a (a-c)\right )}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 1604 |
\(\displaystyle \frac {\frac {-\frac {\int -\frac {a \sqrt {c} \left ((a-c) \sqrt {c} \tan ^2(d+e x)+\left (\sqrt {a}+\sqrt {c}\right ) \left (a+\sqrt {c} \sqrt {a}-b\right )\right )}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a}-\left ((a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}\right )}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 25 |
\(\displaystyle \frac {\frac {\frac {\int \frac {a \sqrt {c} \left ((a-c) \sqrt {c} \tan ^2(d+e x)+\left (\sqrt {a}+\sqrt {c}\right ) \left (a+\sqrt {c} \sqrt {a}-b\right )\right )}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a}-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {\sqrt {c} \int \frac {(a-c) \sqrt {c} \tan ^2(d+e x)+\left (\sqrt {a}+\sqrt {c}\right ) \left (a+\sqrt {c} \sqrt {a}-b\right )}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 1511 |
\(\displaystyle \frac {\frac {\sqrt {c} \left ((2 a-b) \left (\sqrt {a}+\sqrt {c}\right ) \int \frac {1}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)-\sqrt {a} (a-c) \int \frac {\sqrt {a}-\sqrt {c} \tan ^2(d+e x)}{\sqrt {a} \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)\right )-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 27 |
\(\displaystyle \frac {\frac {\sqrt {c} \left ((2 a-b) \left (\sqrt {a}+\sqrt {c}\right ) \int \frac {1}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)-(a-c) \int \frac {\sqrt {a}-\sqrt {c} \tan ^2(d+e x)}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)\right )-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 1416 |
\(\displaystyle \frac {\frac {\sqrt {c} \left (\frac {(2 a-b) \left (\sqrt {a}+\sqrt {c}\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-(a-c) \int \frac {\sqrt {a}-\sqrt {c} \tan ^2(d+e x)}{\sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)\right )-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 1509 |
\(\displaystyle \frac {\frac {\sqrt {c} \left (\frac {(2 a-b) \left (\sqrt {a}+\sqrt {c}\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-(a-c) \left (\frac {\sqrt [4]{a} \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} E\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right )|\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{\sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-\frac {\tan (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{\sqrt {a}+\sqrt {c} \tan ^2(d+e x)}\right )\right )-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \int \frac {\sqrt {c} \tan ^2(d+e x)+\sqrt {a}}{\left (\tan ^2(d+e x)+1\right ) \sqrt {c \tan ^4(d+e x)+b \tan ^2(d+e x)+a}}d\tan (d+e x)}{a-c}}{e}\) |
\(\Big \downarrow \) 2220 |
\(\displaystyle \frac {\frac {\sqrt {c} \left (\frac {(2 a-b) \left (\sqrt {a}+\sqrt {c}\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} \operatorname {EllipticF}\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{2 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-(a-c) \left (\frac {\sqrt [4]{a} \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} E\left (2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right )|\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{\sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}-\frac {\tan (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{\sqrt {a}+\sqrt {c} \tan ^2(d+e x)}\right )\right )-(a-c) \cot (d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}{a-c}-\frac {\left (\sqrt {a}+\sqrt {c}\right ) (a-b+c) \left (\frac {\left (\sqrt {a}-\sqrt {c}\right ) \arctan \left (\frac {\sqrt {a-b+c} \tan (d+e x)}{\sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}\right )}{2 \sqrt {a-b+c}}+\frac {\left (\sqrt {a}+\sqrt {c}\right ) \left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right ) \sqrt {\frac {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}{\left (\sqrt {a}+\sqrt {c} \tan ^2(d+e x)\right )^2}} \operatorname {EllipticPi}\left (-\frac {\left (\sqrt {a}-\sqrt {c}\right )^2}{4 \sqrt {a} \sqrt {c}},2 \arctan \left (\frac {\sqrt [4]{c} \tan (d+e x)}{\sqrt [4]{a}}\right ),\frac {1}{4} \left (2-\frac {b}{\sqrt {a} \sqrt {c}}\right )\right )}{4 \sqrt [4]{a} \sqrt [4]{c} \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)}}\right )}{a-c}}{e}\) |
(-(((Sqrt[a] + Sqrt[c])*(a - b + c)*(((Sqrt[a] - Sqrt[c])*ArcTan[(Sqrt[a - b + c]*Tan[d + e*x])/Sqrt[a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4]])/(2*S qrt[a - b + c]) + ((Sqrt[a] + Sqrt[c])*EllipticPi[-1/4*(Sqrt[a] - Sqrt[c]) ^2/(Sqrt[a]*Sqrt[c]), 2*ArcTan[(c^(1/4)*Tan[d + e*x])/a^(1/4)], (2 - b/(Sq rt[a]*Sqrt[c]))/4]*(Sqrt[a] + Sqrt[c]*Tan[d + e*x]^2)*Sqrt[(a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4)/(Sqrt[a] + Sqrt[c]*Tan[d + e*x]^2)^2])/(4*a^(1/ 4)*c^(1/4)*Sqrt[a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4])))/(a - c)) + (-( (a - c)*Cot[d + e*x]*Sqrt[a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4]) + Sqrt [c]*(((2*a - b)*(Sqrt[a] + Sqrt[c])*EllipticF[2*ArcTan[(c^(1/4)*Tan[d + e* x])/a^(1/4)], (2 - b/(Sqrt[a]*Sqrt[c]))/4]*(Sqrt[a] + Sqrt[c]*Tan[d + e*x] ^2)*Sqrt[(a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4)/(Sqrt[a] + Sqrt[c]*Tan[ d + e*x]^2)^2])/(2*a^(1/4)*c^(1/4)*Sqrt[a + b*Tan[d + e*x]^2 + c*Tan[d + e *x]^4]) - (a - c)*(-((Tan[d + e*x]*Sqrt[a + b*Tan[d + e*x]^2 + c*Tan[d + e *x]^4])/(Sqrt[a] + Sqrt[c]*Tan[d + e*x]^2)) + (a^(1/4)*EllipticE[2*ArcTan[ (c^(1/4)*Tan[d + e*x])/a^(1/4)], (2 - b/(Sqrt[a]*Sqrt[c]))/4]*(Sqrt[a] + S qrt[c]*Tan[d + e*x]^2)*Sqrt[(a + b*Tan[d + e*x]^2 + c*Tan[d + e*x]^4)/(Sqr t[a] + Sqrt[c]*Tan[d + e*x]^2)^2])/(c^(1/4)*Sqrt[a + b*Tan[d + e*x]^2 + c* Tan[d + e*x]^4]))))/(a - c))/e
3.1.34.3.1 Defintions of rubi rules used
Int[(a_)*(Fx_), x_Symbol] :> Simp[a Int[Fx, x], x] /; FreeQ[a, x] && !Ma tchQ[Fx, (b_)*(Gx_) /; FreeQ[b, x]]
Int[1/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbol] :> With[{q = Rt[c /a, 4]}, Simp[(1 + q^2*x^2)*(Sqrt[(a + b*x^2 + c*x^4)/(a*(1 + q^2*x^2)^2)]/ (2*q*Sqrt[a + b*x^2 + c*x^4]))*EllipticF[2*ArcTan[q*x], 1/2 - b*(q^2/(4*c)) ], x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbo l] :> With[{q = Rt[c/a, 4]}, Simp[(-d)*x*(Sqrt[a + b*x^2 + c*x^4]/(a*(1 + q ^2*x^2))), x] + Simp[d*(1 + q^2*x^2)*(Sqrt[(a + b*x^2 + c*x^4)/(a*(1 + q^2* x^2)^2)]/(q*Sqrt[a + b*x^2 + c*x^4]))*EllipticE[2*ArcTan[q*x], 1/2 - b*(q^2 /(4*c))], x] /; EqQ[e + d*q^2, 0]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && PosQ[c/a]
Int[((d_) + (e_.)*(x_)^2)/Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4], x_Symbo l] :> With[{q = Rt[c/a, 2]}, Simp[(e + d*q)/q Int[1/Sqrt[a + b*x^2 + c*x^ 4], x], x] - Simp[e/q Int[(1 - q*x^2)/Sqrt[a + b*x^2 + c*x^4], x], x] /; NeQ[e + d*q, 0]] /; FreeQ[{a, b, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && Pos Q[c/a]
Int[((f_.)*(x_))^(m_.)*((d_) + (e_.)*(x_)^2)*((a_) + (b_.)*(x_)^2 + (c_.)*( x_)^4)^(p_), x_Symbol] :> Simp[d*(f*x)^(m + 1)*((a + b*x^2 + c*x^4)^(p + 1) /(a*f*(m + 1))), x] + Simp[1/(a*f^2*(m + 1)) Int[(f*x)^(m + 2)*(a + b*x^2 + c*x^4)^p*Simp[a*e*(m + 1) - b*d*(m + 2*p + 3) - c*d*(m + 4*p + 5)*x^2, x ], x], x] /; FreeQ[{a, b, c, d, e, f, p}, x] && NeQ[b^2 - 4*a*c, 0] && LtQ[ m, -1] && IntegerQ[2*p] && (IntegerQ[p] || IntegerQ[m])
Int[((x_)^(m_)*((a_.) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(p_))/((d_) + (e_.)*(x _)^2), x_Symbol] :> Simp[(-(-d/e)^(m/2))*((c*d^2 - b*d*e + a*e^2)^(p + 1/2) /(e^(2*p)*(c*d^2 - a*e^2))) Int[(a*d*Rt[c/a, 2] + a*e + (c*d + a*e*Rt[c/a , 2])*x^2)/((d + e*x^2)*Sqrt[a + b*x^2 + c*x^4]), x], x] + Simp[(-d/e)^(m/2 )/(e^(2*p)*(c*d^2 - a*e^2)) Int[(x^m/Sqrt[a + b*x^2 + c*x^4])*ExpandToSum [((e^(2*p)*(c*d^2 - a*e^2)*(a + b*x^2 + c*x^4)^(p + 1/2))/(-d/e)^(m/2) + (( a*d*Rt[c/a, 2] + a*e + (c*d + a*e*Rt[c/a, 2])*x^2)*(c*d^2 - b*d*e + a*e^2)^ (p + 1/2))/x^m)/(d + e*x^2), x], x], x] /; FreeQ[{a, b, c, d, e}, x] && NeQ [b^2 - 4*a*c, 0] && IGtQ[p + 1/2, 0] && ILtQ[m/2, 0] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a]
Int[((A_) + (B_.)*(x_)^2)/(((d_) + (e_.)*(x_)^2)*Sqrt[(a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4]), x_Symbol] :> With[{q = Rt[B/A, 2]}, Simp[(-(B*d - A*e))*(A rcTan[Rt[-b + c*(d/e) + a*(e/d), 2]*(x/Sqrt[a + b*x^2 + c*x^4])]/(2*d*e*Rt[ -b + c*(d/e) + a*(e/d), 2])), x] + Simp[(B*d + A*e)*(1 + q^2*x^2)*(Sqrt[(a + b*x^2 + c*x^4)/(a*(1 + q^2*x^2)^2)]/(4*d*e*q*Sqrt[a + b*x^2 + c*x^4]))*El lipticPi[-(e - d*q^2)^2/(4*d*e*q^2), 2*ArcTan[q*x], 1/2 - b/(4*a*q^2)], x]] /; FreeQ[{a, b, c, d, e, A, B}, x] && NeQ[c*d^2 - a*e^2, 0] && PosQ[c/a] & & EqQ[c*A^2 - a*B^2, 0] && PosQ[B/A] && PosQ[-b + c*(d/e) + a*(e/d)]
Int[tan[(d_.) + (e_.)*(x_)]^(m_.)*((a_.) + (b_.)*((f_.)*tan[(d_.) + (e_.)*( x_)])^(n_.) + (c_.)*((f_.)*tan[(d_.) + (e_.)*(x_)])^(n2_.))^(p_), x_Symbol] :> Simp[f/e Subst[Int[(x/f)^m*((a + b*x^n + c*x^(2*n))^p/(f^2 + x^2)), x ], x, f*Tan[d + e*x]], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && EqQ[n 2, 2*n] && NeQ[b^2 - 4*a*c, 0]
\[\int \cot \left (e x +d \right )^{2} \sqrt {a +b \tan \left (e x +d \right )^{2}+c \tan \left (e x +d \right )^{4}}d x\]
Timed out. \[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\text {Timed out} \]
\[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\int \sqrt {a + b \tan ^{2}{\left (d + e x \right )} + c \tan ^{4}{\left (d + e x \right )}} \cot ^{2}{\left (d + e x \right )}\, dx \]
\[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\int { \sqrt {c \tan \left (e x + d\right )^{4} + b \tan \left (e x + d\right )^{2} + a} \cot \left (e x + d\right )^{2} \,d x } \]
\[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\int { \sqrt {c \tan \left (e x + d\right )^{4} + b \tan \left (e x + d\right )^{2} + a} \cot \left (e x + d\right )^{2} \,d x } \]
Timed out. \[ \int \cot ^2(d+e x) \sqrt {a+b \tan ^2(d+e x)+c \tan ^4(d+e x)} \, dx=\int {\mathrm {cot}\left (d+e\,x\right )}^2\,\sqrt {c\,{\mathrm {tan}\left (d+e\,x\right )}^4+b\,{\mathrm {tan}\left (d+e\,x\right )}^2+a} \,d x \]